package com.demo.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


public class Comments {
    private Long id;
    private Long orderid;
    private Long spotsid;
    private Spots spots;
    private String transportsfeel;
    private String hotelfeel;
    private String playfeel;
    private String content;
    private Long userid;
    private Custorm custorm;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Long getSpotsid() {
        return spotsid;
    }

    public void setSpotsid(Long spotsid) {
        this.spotsid = spotsid;
    }

    public Spots getSpots() {
        return spots;
    }

    public void setSpots(Spots spots) {
        this.spots = spots;
    }

    public String getTransportsfeel() {
        return transportsfeel;
    }

    public void setTransportsfeel(String transportsfeel) {
        this.transportsfeel = transportsfeel;
    }

    public String getHotelfeel() {
        return hotelfeel;
    }

    public void setHotelfeel(String hotelfeel) {
        this.hotelfeel = hotelfeel;
    }

    public String getPlayfeel() {
        return playfeel;
    }

    public void setPlayfeel(String playfeel) {
        this.playfeel = playfeel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Custorm getCustorm() {
        return custorm;
    }

    public void setCustorm(Custorm custorm) {
        this.custorm = custorm;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }
}
